<template>
  <div class="big">
    <div class="top-1"></div>
    <!-- 首页轮播图图片 -->
    <div class="showImg">
      <!-- //轮播图片 -->
      <img
        @mouseover="changeInterval(true)"
        @mouseleave="changeInterval(false)"
        v-for="item in imgArr"
        :key="item.id"
        :src="item.url"
        alt="暂无图片"
        v-show="item.id === currentIndex"
      />
      <!-- //左侧按钮 -->
      <!-- <div @click="clickIcon('up')" class="iconDiv icon-left">
        <i class="el-icon-caret-left"></i>
      </div> -->
      <!-- //右侧按钮 -->
      <!-- <div @click="clickIcon('down')" class="iconDiv icon-right">
        <i class="el-icon-caret-right"></i>
      </div> -->
      <!-- //控制圆点 -->
      <div class="banner-circle">
        <ul>
          <li
            @click="changeImg(item.id)"
            v-for="item in imgArr"
            :key="item.id"
            :class="item.id === currentIndex ? 'active' : ''"
          ></li>
        </ul>
      </div>
    </div>
    <!-- 轮播图上登录 -->
    <div class="div1-a">
      <div class="lilv">
        <h4 style="text-align: center">年化收益率</h4>
      </div>
      <div class="lilv">
        <h1 style="text-align: center; font-size: 50px; color: red">4-6%</h1>
      </div>
      <div class="div1-b">
        
         <router-link class="zc_btn" to="/register">注册领668元红包</router-link>
      </div>
      <div class="div1-c">
        <router-link style="font-size: 18px; text-decoration: none; color: #c0c0c0" to="/login">立即登录</router-link>
       
      </div>
    </div>
    <div class="div2">
      <div class="div2-1">
        <div class="div2-a">
          <img
            src="../../public/p0.png"
            width="60px"
            height="60px"
            class="div2-a-1"
          />
          <span class="div2-a-2">互联网百强</span>
          <span class="div2-a-3">中国互联网企业100强</span>
        </div>

        <div class="div2-a">
          <img
            src="../../public/p1.png"
            width="60px"
            height="60px"
            class="div2-a-1"
          />
          <span class="div2-a-2">银行存管</span>
          <span class="div2-a-3">接入银行资金存管系统</span>
        </div>

        <div class="div2-a">
          <img
            src="../../public/p2.png"
            width="60px"
            height="60px"
            class="div2-a-1"
          />
          <span class="div2-a-2">严格风控</span>
          <span class="div2-a-3">大数据风控模型及专业团队</span>
        </div>

        <div class="div2-a">
          <img
            src="../../public/p3.png"
            width="60px"
            height="60px"
            class="div2-a-1"
          />
          <span class="div2-a-2">AA级信用评价</span>
          <span class="div2-a-3">iTrust互联网信用评价中心</span>
        </div>
      </div>

    </div>
    <div class="img_dw">
      <img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F202002%2F26%2F20200226084625_wkpxi.thumb.400_0.jpg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670052691&t=e94c196d99c5eb68166e406fcefcac30" width="90px" height="85xp" />
      <span>加入微信群学习投资小知识</span>
    </div>

    <!-- 大的盒子 -->
    <div class="div_big_flow">
      <!-- 投资流程 -->
      <div class="div_flow">
        <div class="flow_1"><span>投资流程</span></div>
        <div class="flow_2">
          <!-- 注册 -->
          <div class="flow_3">
            <div class="flow_img_1">
              <img src="../assets/p4.png" width="60%" height="" alt="" />
            </div>
            <div class="flow_img_2">
              <p><span class="zc">1 免费注册</span></p>
              <p><span class="zc2">30秒快速注册</span></p>
            </div>
            <div class="flow_img_3">
              <p><span class="zc3">></span></p>
            </div>
          </div>
          <!-- 2 身份认证 -->
          <div class="flow_3">
            <div class="flow_img_1">
              <img src="../assets/p5.png" width="60%" height="" alt="" />
            </div>
            <div class="flow_img_2">
              <p><span class="zc">2 身份认证</span></p>
              <p><span class="zc2">实名身份认证</span></p>
            </div>
            <div class="flow_img_3">
              <p><span class="zc3">></span></p>
            </div>
          </div>
          <!-- 3 充值投资 -->
          <div class="flow_3">
            <div class="flow_img_1">
              <img src="../assets/p6.png" width="60%" height="" alt="" />
            </div>
            <div class="flow_img_2">
              <p><span class="zc">3 充值投资</span></p>
              <p><span class="zc2">在线快捷投资</span></p>
            </div>
            <div class="flow_img_3">
              <p><span class="zc3">></span></p>
            </div>
          </div>
          <!-- 4 坐享收益 -->
          <div class="flow_3">
            <div class="flow_img_1">
              <img src="../assets/p7.png" width="60%" height="" alt="" />
            </div>
            <div class="flow_img_4">
              <p><span class="zc">4 坐享收益</span></p>
              <p><span class="zc4">到期自动收回本息</span></p>
            </div>
            <div class="flow_img_3">
              <!-- <p><span class="zc3">></span></p> -->
            </div>
          </div>
        </div>
      </div>

      <!-- 新手体验区 -->
      <div class="div_flow2">
        <div class="flow_1"><span>新手体验区</span></div>
        <div class="flow_2">
          <div class="flow_left">
            <div class="flow_left_1">
              <div class="left">
                <div class="shang">
                  <p>
                    <span class="font_span">6</span
                    ><span class="font_span2">.8%</span
                    ><span class="font_span3">一个月</span>
                    <span class="font_span3">100元</span>
                  </p>
                </div>
                <div class="xia">
                  <span class="lilv_nian">年化利率</span>
                  <span class="lilv_nian2">投资周期</span
                  ><span class="lilv_nian3">起投金额</span>
                </div>
              </div>
              <div class="right">
                <button class="zc_btn2" @click="invest">立刻投资</button>
              </div>
            </div>
          </div>
          <div class="flow_right">
            <div class="flow_right_left">
              <div class="flow_right_left_up">
                <p><span class="up_1">注册送礼包</span></p>
              </div>
              <div class="flow_right_left_down">
                <p>
                  <span class="up_2">最高送 </span>
                  <span class="up_3">688元</span>
                  <span class="up_4"> 投资红包</span>
                </p>
              </div>
            </div>
            <div class="flow_right_right">
              <div>
                <img
                  class="flow_right_right_img"
                  src="../assets/u13.png"
                  width="120px"
                  height="95px"
                  alt=""
                />
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- 投资专区 -->
      <div class="div_flow_3">
        <div class="flow_1"><span>投资流程</span></div>
        <div class="flow_2_2">
          <!-- 互联网百强 -->
          <div class="div_flow_3_3">
            <div class="baiqiang_1">
              <p><span>互联网百强</span></p>
            </div>
            <div class="baiqiang_2">
              <p>
                <span class="baiqiang_2_font_span">5</span
                ><span class="baiqiang_2_font_span2">.8%</span>
              </p>
            </div>
            <div class="baiqiang_3">
              <p><span>1-3个月</span></p>
            </div>
            <div class="baiqiang_4">
              <button class="zc_btn3" @click="invest">立刻投资</button>
            </div>
          </div>
          <!-- 2 银行存管 -->
          <div class="div_flow_3_3">
            <div class="baiqiang_1">
              <p><span>银行存管</span></p>
            </div>
            <div class="baiqiang_2">
              <p>
                <span class="baiqiang_2_font_span">6</span
                ><span class="baiqiang_2_font_span2">.8%</span>
              </p>
            </div>
            <div class="baiqiang_3">
              <p><span>1-3个月</span></p>
            </div>
            <div class="baiqiang_4">
              <button class="zc_btn3" @click="invest">立刻投资</button>
            </div>
          </div>
          <!-- 3 严格风控 -->
          <div class="div_flow_3_3">
            <div class="baiqiang_1">
              <p><span>严格风控</span></p>
            </div>
            <div class="baiqiang_2">
              <p>
                <span class="baiqiang_2_font_span">6</span
                ><span class="baiqiang_2_font_span2">.9%</span>
              </p>
            </div>
            <div class="baiqiang_3">
              <p><span>3-4个月</span></p>
            </div>
            <div class="baiqiang_4">
              <button class="zc_btn3" @click="invest">立刻投资</button>
            </div>
          </div>
          <!-- 4 AA级信用评价 -->
          <div class="div_flow_3_3">
            <div class="baiqiang_1">
              <p><span>AA级信用评价</span></p>
            </div>
            <div class="baiqiang_2">
              <p>
                <span class="baiqiang_2_font_span">5</span
                ><span class="baiqiang_2_font_span2">.8%</span>
              </p>
            </div>
            <div class="baiqiang_3">
              <p><span>1-3个月</span></p>
            </div>
            <div class="baiqiang_4">
              <button class="zc_btn3" @click="invest">立刻投资</button>
            </div>
          </div>
        </div>
      </div>

      <!-- 精选推荐 -->
      <div class="recommend">
        <div class="recommend_flow_1"><span>精选推荐</span></div>
        <div class="recommend_up">
          <div class="recommend_up_1">
            <span class="recommend_up_1_font_span">6</span
            ><span class="recommend_up_1_font_span2">.8%</span>
            <span class="recommend_up_1_lilv_nian">年化收益率</span>
          </div>
          <div class="recommend_up_2">
            <p>
              <span class="recommend_up_1_font_span">6</span
              ><span class="recommend_up_1_font_span2">.8%</span>
            </p>
            <div>
              <p><span class="recommend_up_1_lilv_nian">年化收益率</span></p>
            </div>
          </div>
          <div class="recommend_up_3">
            <div><span>按月返还利息</span></div>
            <button class="zc_btn4" @click="invest">立刻投资</button>
          </div>
        </div>

        <div class="recommend_down">
          <div class="recommend_up_1">
            <span class="recommend_up_1_font_span">6</span
            ><span class="recommend_up_1_font_span2">.8%</span>
            <span class="recommend_up_1_lilv_nian">年化收益率</span>
          </div>
          <div class="recommend_up_2">
            <p>
              <span class="recommend_up_1_font_span">6</span
              ><span class="recommend_up_1_font_span2">.8%</span>
            </p>
            <div>
              <p><span class="recommend_up_1_lilv_nian">年化收益率</span></p>
            </div>
          </div>
          <div class="recommend_up_3">
            <div><span>按月返还利息</span></div>
            <button plain="true" class="zc_btn4" @click="invest()">立刻投资</button>
          </div>
        </div>
      </div>

      <!-- 合作伙伴 -->
      <div class="div_flow">
        <div class="flow_1"><span>合作伙伴</span></div>
        <div class="flow_2">
          <!-- 银联 -->
          <div class="flow_32">
            <img
              @click="yinlian(e)"
              src="../assets/u4.png"
              width="180px"
              height="50px"
              alt=""
            />
          </div>
          <!-- 2 金融认准中心 -->
          <div class="flow_32">
            <img @click="jinrong()" src="../assets/u5.png" width="180px" height="50px" alt="" />
          </div>
          <!-- 3 网贷之家 -->
          <div class="flow_32">
            <img src="../assets/u6.png" width="180px" height="50px" alt="" />
          </div>
          <!-- 4 网贷天眼 -->
          <div class="flow_32">
            <img @click="wangdai()" src="../assets/u7.png" width="180px" height="50px" alt="" />
          </div>
        </div>
      </div>
    </div>
    <Bottom/>
  </div>
</template>

<script>
import Bottom from "./Bottom.vue"
import axios from "axios";
export default {
    components: {
    Bottom,
  },
  data() {
    return {
      
      url: "http://cn.unionpay.com/",
      currentIndex: 0, //当前所在图片下标
      timer: 0, //定时轮询
      imgArr: [
        {
          id: 0,
          url: "www1.jpg",
        },
        {
          id: 1,
          url: "www2.jpg",
        },
        {
          id: 2,
          url: "www3.jpg",
        },
        {
          id: 3,
          url: "www4.jpg",
        },
      ],
    };
  },
  methods: {
    wangdai(e) {
      window.location.href = "https://www.p2peye.com/";
    },
    jinrong(e) {
      window.location.href = "http://www.cfca.com.cn/";
    },
    yinlian(e) {
      window.location.href = "http://cn.unionpay.com/";
    },
    invest() {
        axios({
        url: "/api/user/getSessionUser",
        mounted: "get",
      }).then((res) => {
        console.log(res.data);
        if(res.data==true){
          this.$router.push({path:'Investment'});
        }else{
          this.$message({
          showClose: true,
          message: '很抱歉,您还无法访问,请先登录!!!'
        });
          this.$router.push({path:'login'});
        }
      });
    },

    //开启定时器
    startInterval() {
      // 事件里定时器应该先清除在设置，防止多次点击直接生成多个定时器
      clearInterval(this.timer);
      this.timer = setInterval(() => {
        this.currentIndex++;
        if (this.currentIndex > this.imgArr.length - 1) {
          this.currentIndex = 0;
        }
      }, 2000);
    },
    // 点击左右箭头
    clickIcon(val) {
      if (val === "down") {
        this.currentIndex++;
        if (this.currentIndex === this.imgArr.length) {
          this.currentIndex = 0;
        }
      } else {
        /* 第一种写法
					this.currentIndex--;
					if(this.currentIndex < 0){
						this.currentIndex = this.imgArr.length-1;
					} */
        // 第二种写法
        if (this.currentIndex === 0) {
          this.currentIndex = this.imgArr.length;
        }
        this.currentIndex--;
      }
    },
    // 点击控制圆点
    changeImg(index) {
      this.currentIndex = index;
    },
    //鼠标移入移出控制
    changeInterval(val) {
      if (val) {
        clearInterval(this.timer);
      } else {
        this.startInterval();
      }
    },
  },
  //进入页面后启动定时轮询
  mounted() {
    this.startInterval();
``  },
};
</script>

<style>
.flow_32 img {
  margin-top: 48px;
  margin-left: 48px;
  opacity: 0.4;
}
img:hover {
  opacity: 3;
  /* -moz-box-shadow: 0px 0px 25px rgba(0, 255, 178, 1); */
  /* -webkit-box-shadow: 0px 0px 25px rgba(0, 255, 178, 1); */
  /* box-shadow: 0px 0px 25px rgba(0, 255, 178, 1); */
  cursor: pointer;
}

.flow_32 {
  font-family: "Arial Normal", "Arial";
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  color: #333333;
  text-align: center;
  line-height: normal;
  width: 25%;
  height: 150px;
  float: left;
}

.recommend_up_3 div {
  margin-top: 50px;
  margin-left: 80px;
  /* background-color: #c0c0c0; */
  width: 100px;
  float: left;
}
.recommend_up_1_font_span2 {
  float: left;
  margin-top: 12px;
  margin-left: 5px;
  font-size: 30px;
  color: rgba(243, 9, 26, 1);
}
.recommend_up_1_lilv_nian {
  /* line-height: 11; */
  margin-top: 66px;
  float: left;
  font-size: 14px;
  margin-left: -75px;
  color: #c0c0c0;
}

.recommend_up_1_font_span {
  float: left;
  margin-left: 95px;
  line-height: 1.5;
  font-size: 40px;
  color: rgba(243, 9, 26, 1);
}
.recommend_up_2 {
  margin-top: 25px;
  width: 30%;
  height: 80px;
  float: left;
  border-right: 2px solid #efefef;
  /* background-color: #666; */
}
.recommend_up_1 {
  margin-top: 25px;
  width: 30%;
  height: 80px;
  float: left;
  /* background-color: #666; */
  border-right: 2px solid #efefef;
}
.recommend_down {
  width: 95%;
  height: 130px;
  float: left;
  margin-left: 27px;
  /* background-color:chartreuse; */
  /* border-bottom: 2px solid #efefef; */
}
.recommend_up {
  width: 95%;
  height: 130px;
  float: left;
  margin-left: 27px;
  /* background-color:chartreuse; */
  border-bottom: 2px solid #efefef;
}
.recommend {
  float: left;
  width: 74.8%;
  height: 290px;
  margin-top: 80px;
  margin-left: 190px;
  background-color: #ffffff;
}
.baiqiang_1 span {
  font-size: 16px;
}
.baiqiang_3 span {
  margin-left: -15px;
}
.baiqiang_3 {
  float: left;
  width: 100%;
  height: 30px;
  /* background-color: red; */
  text-align: center;
  font-size: 18px;
}
.baiqiang_1 {
  float: left;
  width: 100%;
  height: 30px;
  /* background-color: red; */
  text-align: center;
}
.top-1 {
  width: 100%;
  float: left;
  height: 50px;
}
.lilv_nian {
  line-height: 2;
  float: left;
  font-size: 14px;
  margin-left: 45px;
}
.lilv_nian2 {
  line-height: 2;
  float: left;
  font-size: 14px;
  margin-left: 83px;
}
.lilv_nian3 {
  line-height: 2;
  float: left;
  font-size: 14px;
  margin-left: 73px;
}

.xia {
  float: left;
  width: 100%;
  height: 30px;
}

.font_span3 {
  margin-left: 5px;
  line-height: 3;
  margin-left: 70px;
  margin-bottom: 50px;
  float: left;
  font-size: 19px;
}
.font_span2 {
  float: left;
  margin-left: 5px;
  line-height: 2;
  margin-bottom: 50px;
  font-size: 30px;
  color: rgba(243, 9, 26, 1);
}
.baiqiang_2_font_span2 {
  float: left;
  margin-left: 6px;
  line-height: 2;
  /* margin-bottom:50px ; */
  margin-top: 23px;
  font-size: 30px;
  color: rgba(243, 9, 26, 1);
}
.baiqiang_2_font_span {
  margin-top: 20px;
  float: left;
  margin-left: 95px;
  line-height: 1.5;
  font-size: 40px;
  color: rgba(243, 9, 26, 1);
}
.font_span {
  float: left;
  margin-left: 35px;
  line-height: 1.5;
  font-size: 40px;
  color: rgba(243, 9, 26, 1);
}
.shang {
  float: left;
  width: 100%;
  height: 60px;
}

.left {
  float: left;
  width: 64.7%;
  height: 100%;
}
.right {
  float: left;
  width: 35%;
  height: 100%;
  border-right: 2px solid #efefef;
}
.flow_left_1 {
  /* float: left; */
  width: 100%;
  height: 90px;
  margin-top: 30px;
}
.flow_left {
  float: left;
  width: 65%;
  height: 150px;
}
.flow_right {
  float: left;
  width: 35%;
  height: 150px;
}
.up_4 {
  float: left;
  margin-top: 2px;
}
.up_3 {
  float: left;
  color: rgba(243, 9, 26, 1);
  font-size: 18px;
}
.up_2 {
  float: left;
  margin-top: 2px;
  margin-left: 40px;
  /* font-size: 18px; */
}
.up_1 {
  float: left;
  margin-top: 40px;
  margin-left: 40px;
  font-size: 18px;
}
.flow_right_right_img {
  margin-top: 28px;
  margin-left: 28px;
}
.flow_right_left_up {
  /* text-align: left; */
  float: left;
  width: 100%;
  height: 80px;
}
.flow_right_left_down {
  float: left;
  width: 100%;
  height: 70px;
}
.flow_right_left {
  float: left;
  width: 55%;
  height: 150px;
}
.flow_right_right {
  float: left;
  width: 45%;
  height: 150px;
}

.div_flow2 {
  float: left;
  width: 75%;
  height: 230px;
  /* margin-top: 20px; */
  margin-left: 190px;
}
.flow_img_1 img {
  margin: 13px;
}
.zc {
  font-size: 16px;
}
.zc4 {
  font-size: 14px;
  line-height: 3;
  color: #c0c0c0;
}
.zc2 {
  font-size: 14px;
  line-height: 3;
  color: #c0c0c0;
}
.zc3 {
  font-size: 40px;
  line-height: 3.4;
  color: #c0c0c0;
  margin-left: 23px;

  padding-left: 10px;
}
.flow_img_3 {
  float: right;
  width: 63px;
  height: 100%;
}
.flow_img_4 {
  float: left;
  margin-top: 43px;
  margin-left: 13px;
  width: 150px;
  height: 55px;
}
.flow_img_2 {
  float: left;
  margin-top: 43px;
  margin-left: 13px;
  width: 90px;
  height: 55px;
}
.flow_img_1 {
  float: left;
  margin-top: 33px;
  margin-bottom: 33px;
  margin-left: 23px;
  width: 75px;
  height: 75px;
  background-color: #fff4f6;
  border-radius: 37px;
}
.flow_3 {
  width: 25%;
  height: 150px;
  float: left;
}
.flow_2 {
  width: 100%;
  height: 150px;
  float: left;
  background-color: #ffffff;
}
.recommend_flow_1 {
  width: 100%;
  height: 40px;
  float: left;
  font-size: 19px;
  background-color: #f8f8f8;
  border-right: 1px solid #efefef;
}

.flow_1 {
  width: 100px;
  height: 40px;
  float: left;
  font-size: 19px;
}
.big {
  width: 100%;
  height: auto;
}
.div_big_flow {
  float: left;
  width: 100%;
  height: 1400px;
  background-color: #f8f8f8f8;
}
.div_flow {
  float: left;
  width: 75%;
  height: 230px;
  margin-top: 40px;
  margin-left: 190px;
  background-color: #f8f8f8f8;
}
.div_flow_3_3 {
  float: left;
  width: 24%;
  height: 230px;
  /* background-color: #666; */
  border-right: 1px solid #efefef;
}
.div_flow_3 {
  float: left;
  width: 74.8%;
  height: 290px;
  margin-top: 10px;
  margin-left: 190px;
  /* background-color: #463333; */
}
.flow_2 {
  width: 100%;
  height: 150px;
  float: left;
  background-color: #ffffff;
}
.flow_2_2 {
  width: 100%;
  /* margin-top: 20px; */
  padding-top: 30px;
  /* padding-bottom: 20px; */
  height: 260px;
  float: left;
  background-color: #ffffff;
}

.font_3 {
  color: #463333;
  font-weight: 540;
}
.font_2 {
  margin-left: 35px;
  font-size: 14px;
  color: #c0c0c0;
}
.font_1 {
  margin-left: 155px;
  font-size: 14px;
  color: #c0c0c0;
}

.div_yun {
  width: 100%;
  height: 60px;
  margin-top: 20px;
  border-bottom: 2.3px solid #efefef;
}
.img_dw {
  font-size: 12px;
  text-align: center;
  width: 90px;
  height: 134px;
  background-color: #ffffff;
  /* border-radius: 15px; */
  /* height: 5200px; */
  /* position: absolute; */
  left: 1380px;
  position: fixed;
  /*left 属性规定元素的左边缘。该属性定义了定位元素左外边距边界与其包含块左边界之间的偏移。*/
  top: 350px;
}
.zc_btn4 {
  float: left;
  border-width: 0px;
  left: 0px;
  top: 0px;
  margin-left: 40px;
  margin-top: 40px;
  width: 100px;
  height: 40px;
  background: -webkit-linear-gradient(
    315deg,
    rgba(255, 81, 47, 1) 0%,
    rgba(255, 81, 47, 1) 0%,
    rgba(243, 9, 26, 1) 100%,
    rgba(243, 9, 26, 1) 100%
  );
  background: -moz-linear-gradient(
    135deg,
    rgba(255, 81, 47, 1) 0%,
    rgba(255, 81, 47, 1) 0%,
    rgba(243, 9, 26, 1) 100%,
    rgba(243, 9, 26, 1) 100%
  );
  background: linear-gradient(
    135deg,
    rgba(255, 81, 47, 1) 0%,
    rgba(255, 81, 47, 1) 0%,
    rgba(243, 9, 26, 1) 100%,
    rgba(243, 9, 26, 1) 100%
  );
  border: none;
  border-radius: 3px;
  /* -moz-box-shadow: none;
    -webkit-box-shadow: none; */
  box-shadow: none;
  font-family: "微软雅黑";
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #ffffff;
}
.zc_btn3 {
  float: left;
  border-width: 0px;
  left: 0px;
  top: 0px;
  margin-left: 80px;
  margin-top: 24px;
  width: 100px;
  height: 40px;
  background: -webkit-linear-gradient(
    315deg,
    rgba(255, 81, 47, 1) 0%,
    rgba(255, 81, 47, 1) 0%,
    rgba(243, 9, 26, 1) 100%,
    rgba(243, 9, 26, 1) 100%
  );
  background: -moz-linear-gradient(
    135deg,
    rgba(255, 81, 47, 1) 0%,
    rgba(255, 81, 47, 1) 0%,
    rgba(243, 9, 26, 1) 100%,
    rgba(243, 9, 26, 1) 100%
  );
  background: linear-gradient(
    135deg,
    rgba(255, 81, 47, 1) 0%,
    rgba(255, 81, 47, 1) 0%,
    rgba(243, 9, 26, 1) 100%,
    rgba(243, 9, 26, 1) 100%
  );
  border: none;
  border-radius: 3px;
  /* -moz-box-shadow: none;
    -webkit-box-shadow: none; */
  box-shadow: none;
  font-family: "微软雅黑";
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #ffffff;
}
.zc_btn2 {
  float: left;
  border-width: 0px;
  left: 0px;
  top: 0px;
  margin-left: 35px;
  margin-top: 24px;
  width: 150px;
  height: 40px;
  background: -webkit-linear-gradient(
    315deg,
    rgba(255, 81, 47, 1) 0%,
    rgba(255, 81, 47, 1) 0%,
    rgba(243, 9, 26, 1) 100%,
    rgba(243, 9, 26, 1) 100%
  );
  background: -moz-linear-gradient(
    135deg,
    rgba(255, 81, 47, 1) 0%,
    rgba(255, 81, 47, 1) 0%,
    rgba(243, 9, 26, 1) 100%,
    rgba(243, 9, 26, 1) 100%
  );
  background: linear-gradient(
    135deg,
    rgba(255, 81, 47, 1) 0%,
    rgba(255, 81, 47, 1) 0%,
    rgba(243, 9, 26, 1) 100%,
    rgba(243, 9, 26, 1) 100%
  );
  border: none;
  border-radius: 3px;
  /* -moz-box-shadow: none;
    -webkit-box-shadow: none; */
  box-shadow: none;
  font-family: "微软雅黑";
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #ffffff;
}
.zc_btn {
 background-color: red;

}

.lilv {
  margin-top: 20px;
}
* {
  padding: 0;
  margin: 0;
}
/* 清除li前面的圆点 */
li {
  list-style-type: none;
}
.showImg {
  position: relative;
  width: 100%;
  height: 420px;
  margin: 0 auto;
  overflow: hidden;
}
/* 轮播图片 */
.showImg img {
  width: 100%;
  height: 100%;
}

/* 箭头图标 */
.iconDiv {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 1px solid #666;
  border-radius: 15px;
  background-color: rgba(125, 125, 125, 0.2);
  line-height: 30px;
  text-align: center;
  font-size: 25px;
  cursor: pointer;
}
.iconDiv:hover {
  background-color: white;
}
.icon-left {
  left: 10px;
}
.icon-right {
  right: 10px;
}

/* 控制圆点 */
.banner-circle {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 20px;
}
.banner-circle ul {
  margin: 0 670px;
  height: 100%;
  text-align: right;
}
.banner-circle ul li {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 5px;
  border-radius: 7px;
  background-color: rgba(125, 125, 125, 0.8);
  cursor: pointer;
}
.active {
  background-color: black !important;
}

.finance-5 {
  position: absolute;
  border-radius: 5px;
  width: 385px;
  height: 376px;
  transform: translate(251%, -117.5%);
  opacity: 1;
}

.div2-2-2 {
  font-size: 25px;
  float: left;
  margin-top: 10px;
}
.div2-2-3 {
  font-size: 25px;
  margin-left: 100px;
  color: #c0c0c0;
  float: left;
  margin-top: 10px;
}
.div2-2-4 {
  font-size: 25px;
  margin-left: 100px;
  color: #c0c0c0;
  float: left;
  margin-top: 10px;
}
.div2-2-5 {
  font-size: 25px;
  margin-left: 100px;
  color: #c0c0c0;
  float: left;
  margin-top: 10px;
}
*/ .div2-2-1 {
  font-size: 25px;
  color: #c0c0c0;
  float: left;
  margin-top: 10px;
}
.div2-2 {
  margin-left: 10%;
  width: 78%;
  height: 100px;
  border-top: 1px solid #efefef;
}
.div2-1 {
  width: 80%;
  height: 80px;
  margin: 0 auto;
  margin-top: 20px;
  border-bottom: 1px solid #efefef;
}
.div2-a-3 {
  font-size: 15px;
  float: left;
  margin-top: 10px;
  margin-left: 5px;
  color: #c0c0c0;
}
.div2-a-2 {
  font-size: 20px;
  margin-left: 10px;
  width: 200px;
  /* float: left;
  margin-top: 50px;
  margin-left: 20px; */
}
.div2-a-1 {
  /* margin-top: 50px; */
  /* height: 100px;
  width: 100px; */
  float: left;
}
.div2-b {
  float: left;
  width: 400px;
  height: 180px;
}
.div2-c {
  float: left;
  width: 400px;
  height: 180px;
}
.div2-d {
  float: left;
  width: 400px;
  height: 180px;
}
.div2-a {
  float: left;
  width: 280px;
  height: 80px;
  /* margin-left: 150px; */
}
.div2 {
  float: left;
  width: 100%;
  height: 180px;
  /* background-color: rgb(255, 255, 255); */
  /* margin-top: 400px;*/
}
.div1 {
  float: left;
  width: 100%;
  height: 500px;
  background-color: rgb(60, 0, 255);
  /* position: absolute */
}
.div1-a {
  float: left;
  width: 270px;
  height: 270px;
  background-color: whitesmoke;
  margin-top: 10px;
  margin-left: 71%;
  position: relative;
  margin-top: -360px;
   border-radius: 25px;
  -moz-border-radius: 25px;
}
.div1-b {
  margin-left: 65px;
  margin-top: 20px;
}
.div1-c {
  margin-left: 100px;
  margin-top: 30px;
}
</style>